import { axios as request  } from '@/utils/request'

export function getDetail(id) {
  return request({
    url: `api/transport/level/${id}`,
    method: 'get'
  })
}

export function add({data}) {
  return request({
    url: 'api/finish/level',
    method: 'post',
    data
  })
}